package geocoding;

import java.util.Comparator;

public class TripStop {
	private Integer stopId;
	private String stopTime;
	private int t;
	
	public int getT() {
		return t;
	}

	public void setT(int duration) {
		this.t = duration;
	}

	public TripStop() {
		stopId = null;
		stopTime = null;
		t = 0;
	}
	
	public TripStop(Integer trip, String stopTime, int dt) {
		this.stopId = trip;
		this.stopTime = stopTime;
		this.t = dt;
	}
	
	public Integer getStopId() {
		return stopId;
	}
	public void setStopId(Integer trip) {
		this.stopId = trip;
	}
	public String getStopTime() {
		return stopTime;
	}
	public void setStopTime(String stopTime) {
		this.stopTime = stopTime;
	}
	
	public TripStop clone() {
		return new TripStop(stopId, stopTime, t);
	}
}
